package com.bba.manager.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bba.manager.common.model.user.Customer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bba.manager.common.model.user.VO.customerPageVO;
import com.bba.manager.common.util.ResponseVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author SYANDZZY
 * @since 2025-08-11
 */
public interface ICustomerService extends IService<Customer> {
//保存用户，如果已存在返回用户已存在
    public void saveCustomer(Customer customer);
    //分页查询客户
    public IPage listCustomer(customerPageVO customerPageVO);
    //根据姓名查询客户
    public List<Customer> listCustomerByName(String name);
}
